package com.bsoft.gol.hcs.specialist.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 院后随访计划生产记录表(FusAfterPlanProduceRecord)实体类
 *
 * @author makejava
 * @since 2022-05-29 19:14:24
 */
@Entity
@Table(name = "fus_after_plan_produce_record")
public class FusAfterPlanProduceRecord implements Serializable {
    private static final long serialVersionUID = 170178883372274645L;

    /**
     * 院后随访计划生产记录标识
     */
    @Id
    @Column(name = "id")
    private String id;
    /**
     * 机构代码
     */
    @Column(name = "organization_id")
    private String organizationId;
    /**
     * 病人类型 1门诊，2住院
     */
    @Column(name = "patient_type")
    private Integer patientType;
    /**
     * 就诊序号
     */
    @Column(name = "visit_no")
    private String visitNo;
    /**
     * 随访子路径
     */
    @Column(name = "route_detail_id")
    private Long routeDetailId;
    /**
     * 状态：1 开始 2 结束（随访频率临时的直接结束）
     */
    @Column(name = "status")
    private Integer status;
    /**
     * 随访频率，1临时  2长期
     */
    @Column(name = "follow_up_frequency")
    private Integer followUpFrequency;
    /**
     * 开始时间，即计划产生时间
     */
    @Column(name = "start_time")
    private Date startTime;
    /**
     * 结束时间，即终止因素满足时间或者出组时间
     */
    @Column(name = "end_time")
    private Date endTime;
    /**
     * 创建时间
     */     
    @Column(name="gmt_create")
    private Date gmtCreate;
    /**
     * 修改时间
     */     
    @Column(name="gmt_modified")
    private Date gmtModified;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getPatientType() {
        return patientType;
    }

    public void setPatientType(Integer patientType) {
        this.patientType = patientType;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public String getVisitNo() {
        return visitNo;
    }

    public void setVisitNo(String visitNo) {
        this.visitNo = visitNo;
    }

    public Long getRouteDetailId() {
        return routeDetailId;
    }

    public void setRouteDetailId(Long routeDetailId) {
        this.routeDetailId = routeDetailId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getFollowUpFrequency() {
        return followUpFrequency;
    }

    public void setFollowUpFrequency(Integer followUpFrequency) {
        this.followUpFrequency = followUpFrequency;
    }

    public Date getStartTime() {
        return startTime;
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

}

